package io.renren.modules.vipuser.util;

import io.renren.common.utils.DateUtils;
import io.renren.modules.dictionary.dao.DictionaryDao;
import io.renren.modules.dictionary.entity.DictionaryEntity;
import io.renren.modules.vipuser.dao.VipinfosDao;
import io.renren.modules.vipuser.entity.VipinfoCustomEntity;
import io.renren.modules.vipuser.entity.VipinfosEntity;
import io.renren.modules.vipuser.service.VipinfosService;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Title: stf
 * @Description: java类作用描述
 * @Author: 杨帅
 * @CreateDate: 2018/10/26 23:23
 * @Version: 1.0
 */
public class VipUserUtil {
    /*
     * 时间换算
     * */
    public static String timeConversion(String dateStr){
        switch (dateStr){
            case "1":
                return "1天";
            case "31":
                return "1月";
            case "365":
                return "1年";
            default:
        }
        return null;
    }

}
